<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>GSoC2011SfM: D:/Travail/These/Determination caracteristiques camera/GSoC/SfM/src/Visualizer.h Source File</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />

<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  <td id="projectlogo"><img alt="Logo" src="logo.png"/></td>
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">GSoC2011SfM
   &#160;<span id="projectnumber">0.1</span>
   </div>
   <div id="projectbrief">Google Summer of Code 2011: Structure from motion</div>
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.5.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
    </ul>
  </div>
<div class="header">
  <div class="headertitle">
<div class="title">D:/Travail/These/Determination caracteristiques camera/GSoC/SfM/src/Visualizer.h</div>  </div>
</div>
<div class="contents">
<div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#ifndef _GSOC_SFM_VISUALIZER_H</span>
<a name="l00002"></a>00002 <span class="preprocessor"></span><span class="preprocessor">#define _GSOC_SFM_VISUALIZER_H 1</span>
<a name="l00003"></a>00003 <span class="preprocessor"></span>
<a name="l00004"></a>00004 <span class="preprocessor">#include &quot;macro.h&quot;</span> <span class="comment">//SFM_EXPORTS</span>
<a name="l00005"></a>00005 
<a name="l00006"></a>00006 <span class="preprocessor">#include &quot;opencv2/core/core.hpp&quot;</span>
<a name="l00007"></a>00007 <span class="preprocessor">#include &lt;pcl/point_types.h&gt;</span>
<a name="l00008"></a>00008 
<a name="l00009"></a>00009 <span class="preprocessor">#include &lt;pcl/visualization/pcl_visualizer.h&gt;</span>
<a name="l00010"></a>00010 
<a name="l00011"></a>00011 <span class="keyword">namespace </span>OpencvSfM{
<a name="l00012"></a>00012   <span class="keyword">class </span>SFM_EXPORTS PointOfView;
<a name="l00020"></a><a class="code" href="class_opencv_sf_m_1_1_visualizer.html">00020</a>   <span class="keyword">class </span>SFM_EXPORTS <a class="code" href="class_opencv_sf_m_1_1_visualizer.html" title="This class can be used to view the differents object involved in current structure from motion proces...">Visualizer</a>{
<a name="l00021"></a>00021   <span class="keyword">protected</span>:
<a name="l00022"></a><a class="code" href="class_opencv_sf_m_1_1_visualizer.html#a7bd6c0081e57cd9d25b2d495a3afa2db">00022</a>     boost::shared_ptr&lt;pcl::visualization::PCLVisualizer&gt; <a class="code" href="class_opencv_sf_m_1_1_visualizer.html#a7bd6c0081e57cd9d25b2d495a3afa2db" title="The PCL viewer.">viewer</a>;
<a name="l00023"></a>00023   <span class="keyword">public</span>:
<a name="l00028"></a>00028     <a class="code" href="class_opencv_sf_m_1_1_visualizer.html" title="This class can be used to view the differents object involved in current structure from motion proces...">Visualizer</a>( std::string name = <span class="stringliteral">&quot;3D Viewer&quot;</span> );
<a name="l00029"></a>00029     
<a name="l00036"></a>00036     <span class="keywordtype">void</span> addCamera( <span class="keyword">const</span> <a class="code" href="class_opencv_sf_m_1_1_point_of_view.html" title="This class represent the 3D position of the device which take the pictures. The role of the class is ...">PointOfView</a>&amp; camera,
<a name="l00037"></a>00037       std::string name = <span class="stringliteral">&quot;camera&quot;</span>, <span class="keywordtype">int</span> viewport = 0 );
<a name="l00038"></a>00038 
<a name="l00045"></a>00045     <span class="keywordtype">void</span> add3DPoints( <span class="keyword">const</span> std::vector&lt;cv::Vec3d&gt;&amp; points,
<a name="l00046"></a>00046       std::string name = <span class="stringliteral">&quot;cloud&quot;</span>, <span class="keywordtype">int</span> viewport = 0 );
<a name="l00047"></a>00047     
<a name="l00055"></a>00055     <span class="keywordtype">void</span> add3DPointsColored( <span class="keyword">const</span> std::vector&lt;cv::Vec3d&gt;&amp; points,
<a name="l00056"></a>00056       <span class="keyword">const</span> std::vector&lt;unsigned int&gt;&amp; colors,
<a name="l00057"></a>00057       std::string name = <span class="stringliteral">&quot;cloud&quot;</span>, <span class="keywordtype">int</span> viewport = 0 );
<a name="l00058"></a>00058     
<a name="l00062"></a>00062     <span class="keywordtype">void</span> runInteract( );
<a name="l00063"></a>00063   };
<a name="l00064"></a>00064 }
<a name="l00065"></a>00065 
<a name="l00066"></a>00066 <span class="preprocessor">#endif</span>
</pre></div></div>
</div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Variables</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>



<hr class="footer"/><address class="footer"><small>
Generated on Sun Aug 21 2011 16:45:52 for GSoC2011SfM by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.7.5.1
</small></address>

</body>
</html>
